home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 49 / Amiga Format CD49 (2000-01-17)(Future Publishing)(GB)(Track 1 of 3)[!][issue 2000-02].iso / -serious- / misc / mmulib / fixes / fixcybaccess.readme < prev    next >
Text File  |  1999-11-29  |  1KB  |  33 lines

  1. FixCybAccess
  2. _____________________________________________________________________________
  3.  
  4. The cybscsi.device of Phase5 accesses chip memory for a controlled busy-wait
  5. loop. I don't know precisely what this busy-wait is used for, but the device
  6. does this by accessing the chip memory location 0xffff0 like this,
  7.  
  8.     nop
  9.     tst.w $ffff0
  10.     nop
  11.  
  12. however, WITHOUT EVEN ALLOCATING THIS LOCATION BEFORE. Obviously, this makes
  13. MuGuardianAngle SCREAM, and for good reason: What you see here is very bad
  14. programming style and very questionable for a commercial product. First of
  15. all, the chip memory timing depends on the DMA traffic of the native hardware
  16. and hence on the screen solution. Second, even IF this busy wait has to made,
  17. it is required to ALLOCATE the memory location used for the dummy read.
  18.  
  19. The FixCybAccess fixes this by an AllocAbs() of this location and hence
  20. avoids this hit.
  21.  
  22. It *DOES NOT* fix the general DMA related problems of the cybscsi.device, as 
  23. for example not calling the Os functions CachePreDMA() and CachePostDMA() and hence
  24. passing a (possibly invalid) logical address to the DMA logic instead of
  25. the true physical address.
  26.  
  27. You only need to run this program if you want to use the MuGuardianAngel. To
  28. install it, type
  29.  
  30. run FixCybAccess
  31.  
  32. on the shell. To abort it, break it with a ^C signal.
  33.